﻿using System.Windows.Controls;
using System.Windows.Input;
using LFSRecord2.Model;

namespace LFSRecord2.View
{
    /// <summary>
    /// Interaction logic for TimelineLayerKeyView.xaml
    /// </summary>
    public partial class TimelineLayerKeyView : UserControl
    {
        public TimelineLayerKeyView()
        {
            InitializeComponent();
        }

        private void KeylaneSeparatorView_MouseDown(object sender, MouseButtonEventArgs e)
        {
            e.Handled = true;
            LfsRecordController.project.DeselectAll();
            ((CompLayerBase)DataContext).IsSelected = true;
        }
    }
}
